package kwic;

import java.util.ArrayList;
import java.util.List;

public class TestFilter
{
  
  /**
   * @param args
   */
  public static void main(String[] args)
  {
    ReadFilter read = new ReadFilter();
    ShiftFilter shift = new ShiftFilter();
    SortFilter sort = new SortFilter();
    WriteFilter write = new WriteFilter();
    read.addSink(shift);
    shift.addSink(sort);
    sort.addSink(write);
    
    read.putData("empty.txt");
    read.putData("empty_line.txt");
    read.putData("one_line.txt");
    read.putData("capitals.txt");
    read.putData("words.txt");
    read.putData("one_or_more_chars.txt");
    read.putData("few_identical_words.txt");
    
  }
  
}
